'use strict';
import React, {
    Component
} from 'react'
import {
    Link,
} from 'react-router'

import {
    Table,
    ButtonToolbar,
    Button,
} from 'react-bootstrap'

export default class form extends Component {
    render() {
        return (
            <div className='formtest'>
                <div className='text-right'>
                    <ButtonToolbar style={{textAlign:'right'}}>
                      <Button bsStyle="primary" bsSize="small" href='#/home/formadd' >新增新闻</Button>
                    </ButtonToolbar>
                </div>
                <Table responsive>
                    <thead>
                      <tr>
                        <th>#</th>
                        <th>分栏标题</th>
                        <th>分栏标题</th>
                        <th>分栏标题</th>
                        <th>分栏标题</th>
                        <th>分栏标题</th>
                        <th>分栏标题</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        <td>1</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                      </tr>
                      <tr>
                        <td>2</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                      </tr>
                      <tr>
                        <td>3</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                        <td>Table cell</td>
                      </tr>
                    </tbody>
                  </Table>
            </div>
        )
    }
}
